package top.cyuw.subjectsystem.dto.user;

import lombok.Data;
import top.cyuw.subjectsystem.dto.BaseDto;

import javax.validation.constraints.Positive;

@Data
public class UserEditRequest extends BaseDto {

    @Positive(message = "用户ID不存在")
    private Integer id;

    private String password;

    private String role;

    private Integer departId;

}
